import 'package:flutter/material.dart';

import 'package:qr_flutter/qr_flutter.dart';

class PublishQr extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return QrImage(
      data: 'This QR code has an embedded image as well',
      version: QrVersions.auto,
      size: 83,
      gapless: false,
      embeddedImage: AssetImage('assets/images/my_embedded_image.png'),
      embeddedImageStyle: QrEmbeddedImageStyle(
        size: Size(16, 16),
      ),
    );
  }
}
